<table width="80%" align="center">
    <tr>
        <td><h1 align="center">Isi silabus <?php echo $NAMA_SILABUS?></h1></td>
    </tr>
    <tr>
        <td>&nbsp;</td>
    </tr>
    <tr>
        <td>
            <?php
                if($adatopik){
                    echo form_open(base_url() . 'admin/chapter_con/filter');
                    echo form_hidden('id',$ID_SILABUS);
                    echo 'Filter &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: '.form_dropdown('filter' ,$pilihan,$selected);
                    echo '&nbsp';
                    echo form_submit('','Filter');
                    echo form_close();
                }else{
                    echo "<h1 align='center'>Belum ada topik yang dibuat</h1>";
                }
            ?>
        </td>
    </tr>
    <tr>
        <td>
            <?php
                if($adatopik){
                    echo form_open(base_url() . 'admin/chapter_con/insert/'.$ID_SILABUS);
                    echo form_hidden('ID_SILABUS',$ID_SILABUS);
                    echo 'Chapter :&nbsp;'.  form_input('CHAPTER');
                    echo '<br/>';
                    echo 'Topik &nbsp;&nbsp;&nbsp;&nbsp;: '.form_dropdown('ID_TOPIK', $pilihan_topik);
                    echo '<br/>';
                    echo form_submit('','Tambah');
                    echo form_close();
                }
            ?>
            <br/><br/>
        </td>
    </tr>
    <tr>
        <td align="center">
            <?php
                echo $content;
            ?>
        </td>
    </tr>
</table>
